package cn.yza.Kotlin.test

/**
@author Honglixi
@create 2022-05-29 20:07
 */
fun String.lastChar(): Char = this.get(this.length - 1)
//fun lastChar(): Char = this.get(this.length - 1)

fun main() {
    println("Kotlin".lastChar()+"000".length)
    println("000".length)
//    lastChar()
}